<!doctype html>
<html>

<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
	<meta name="description" content="古今在线，铜鼓惊天">
	<link rel="stylesheet" href="../lib/weui.min.css">
	<link rel="stylesheet" href="../css/jquery-weui.css">
	<link rel="stylesheet" href="../img/global/iconfont.css">
	<link href="<%=resUrl%>/css/addScene.css" rel="stylesheet" type="text/css" />
	<% include ./template/commonJs.ejs %>
	<% include ./template/chatLister.ejs %>
</head>

<body ontouchstart>
		<% var topTitle = '添加专场';var topReturnType = '1' %> 
		<% include ./template/topReturn.ejs %>


		<%
		var datas = dataDetail;
		var data={};
		if(datas && datas.length>0){
			data = JSON.parse(datas) ;
		}
	   %>
	<input class="weui-input" value="<%-data?data.id:'' %>" id="ids" type="hidden" />
	<div class="weui-cell weui-cell_select weui-cell_select-after">
		<div class="weui-cell__hd">
			<label for="" class="weui-label">专场分类</label>
		</div>
		<div class="weui-cell__bd">
			<select class="weui-select" name="select3" id="firstCategory">
				<option value='' disabled selected style='display:none;'>请选择</option>
			</select>
		</div>
	</div>
	<div class="">  
		<div class="weui-cell">
			<div class="weui-cell__hd"><label class="weui-label">专场名称</label></div>
			<div class="weui-cell__bd">
				<input class="weui-input" type="text" id="name" value="<%-data?data.name:'' %>" placeholder="请输入专场名称" />
			</div>
		</div>
		<div class="weui-cell weui-cell_select-after">
			<div class="weui-cell__hd"><label class="weui-label">截拍时间</label></div>
			<div class="weui-cell__bd ">
					<input class="weui-input" id="planEndDate" value="<%-data?data.endDate:'' %>" type="text" placeholder="请选择" onfocus="this.blur()"/>
			</div>
		</div>
		<div class="weui-cell">
			<div class="weui-cell__hd"><label class="weui-label">专场说明</label></div>
			<div class="weui-cell__bd">
				<textarea class="weui-textarea" placeholder="请输入专场说明" rows="3" id="content"><%-data?data.content:'' %></textarea>
				<div class="weui-textarea-counter"><span id="descNumber"><%-data&&data.content?data.content.length:0 %></span>/200</div>
			</div>
		</div>
	</div>	 
	<div id="planEndDateSelecter" class='weui-popup__container'>
		<div class="title">快速截拍</div>
		<div class="container">
			<div class="item" id="add5Minute">5分钟</div>
			<div class="item" id="add10Minute">10分钟</div>
			<div class="item" id="add30Minute">30分钟</div>
			<div class="auto-height"></div>
		</div>
		<div class="days">
		</div>
	</div> 
		  
	<div class="weui-btn-area">
	<a class="weui-btn weui-btn_primary" href="javascript:" onclick="sureBut();">确定</a>
	</div>		
	
	<script id="pho" type="text/html">
		<input  id="image" type="hidden" value="{{path}}"/>
		<li class="weui-uploader__file" style="background-image:url({{path}}?x-oss-process=image/resize,w_600)" ></li>
	</script>

	<!-- <script src="/lib/lrz.bundle.js"></script> -->
	<script src="../../js/addScene.js"></script>

	
</body>

</html>